<h1>User list <%= link_to  "new",:action=>:index%><%=link_to "blog",:controller=>:blog %></h1>
<%if @logout %>
       <%= link_to "logout",:action=>:logout %>
<%end%>
<ul>
  
<%  @user.each do   |u|  %>
  <li>
     user:<%= u.name %>&nbsp;
     pass:<%= u.password %>
     <%= link_to "edit",:action=>:edit ,:id=>u.id%>
     <%= link_to "test",:action=>:paramstest, :id=>u,:name=>u.name%>
     <%= link_to "del",:action=>:del ,:id=>u, :confirm=>"sure?"  , :method=>:delete %>
  </li>
<%end%>
</ul>